package com.lianmai.chaincard.view;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

import com.lianmai.chaincard.R;
import com.lianmai.chaincard.view.fragment.HomeMineFragment;
import com.luck.picture.lib.PictureSelector;
import com.luck.picture.lib.config.PictureConfig;
import com.luck.picture.lib.config.PictureMimeType;
import com.luck.picture.lib.entity.LocalMedia;
import com.youth.xframe.base.XActivity;
import com.youth.xframe.widget.XToast;

import org.bining.footstone.utils.FileUtils;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 创建日期：2018/8/15 0015
 * 作者:Kite
 */
public class InvitationCodeActivity extends BaseActivity {

    @BindView(R.id.edt_invitation_code)
    EditText invitationCodeEditView;

    @Override
    public int getLayoutId() {
        return R.layout.activity_invitation_code;
    }

    @Override
    public void initData(Bundle savedInstanceState) {
        super.initData(savedInstanceState);
    }

    @Override
    public void initView() {
        super.initView();
        setTitle(R.string.invitation_code);
    }

    @OnClick({R.id.tv_sure, R.id.tv_direct_login})
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.tv_sure://确定
                advance(RegisterActivity.class);
                break;
            case R.id.tv_direct_login://直接登录
                advance(LoginActivity.class);
                break;
        }
    }

}
